import scrapy


class BitSpider(scrapy.Spider):
    name = "bit"
    allowed_domains = ["amap.com"]
    start_urls = ["https://www.amap.com/search?query=北京理工大学&city=100000&geoobj=112.063%7C37.029506%7C122.079296%7C41.867776&zoom=6.97"]

    def parse(self, response):
        with open("./gaode.html", 'w') as f:
            f.write(response.text)
